home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 128 42
/
q42.d81
/
t.nfl top ten
< prev
next >
Wrap
Text File
|
2022-08-28
|
7KB
|
164 lines
N F L T O P T E N
Program and Text by David B. Presley
Introduction
------------
College football has its polls which decide the College National
Championship each year. The team voted number one in the nation at the end
of the season is crowned the National Champion. USA Today has its poll of
the top 25 college teams in the nation. The Sporting News likewise has its
power poll, not only for college teams but for the NFL as well. But
sometimes we wonder what these polls are based on. Are they based on
something other than win-lose records and TV exposure? Well, now Commodore
128 users can do their own poll of NFL teams.
NFL TOP TEN keeps records on all 31 teams and computes the numbers to
rank them from 1 through 31. The formula for determining the ranking of
each team is in line 5620. The formula is:
Rating = ((points for - points against)/number of games) + wins
You can alter this formula to suit your own preferences. For example,
if you feel more weight should be given to the number of games won then
change the formula to reflect that preference.
1.0 Main Menu
When the program boots up you will see on your screen an alphabetical
listing of all 31 NFL teams. Across the bottom of the screen is a menu of
six items.
1.1 New Season
Press "S" to initialize a new season. You will be prompted for the
season year. Type in all four digits of the year, such as 2000 or whatever.
Press RETURN to go back to the Main Menu.
1.2 AFC
To view and enter stats for the American Conference press "A".
1.3 NFC
To view and enter stats for the National Conference press "N".
1.4 Print
This option will print the current screen with the listing of all teams
either in their alphabetical order or sorted according to their rating,
depending on which is on the current screen.
1.5 Disk
This option will allow you to save and load the files representing
various football seasons you have created. You can also change drive
numbers and view directories. When saving the current season, which is
already on the disk, you will be asked if you wish to replace the old file.
Answer with an "N" to abort or "Y" to continue. Season files are saved as a
year with an "nfl." prefix ("nfl.2000", for example).
NOTE: A file called "nfl.1999" is on the LOADSTAR 128 #42 disk. It's the
final standings of the NFL for 1999 and will show you what your file will
look like if you follow the upcoming 2000 season closely. Remember, to load
it, just enter "1999", not "nfl.1999".
If a file with the same file name as the one currently in memory is
already on the disk, then it will be changed to the same file name with
".a" added ("nfl.2000.a"). If there is already a file with the .a then that
file will be deleted, the file without the .a will have it added and the
current file will be saved as is. (For example, "nfl.2000.a" is deleted,
"nfl.2000" becomes "nfl.2000.a", and the current file is saved as
"nfl.2000".) In this way there are two files for each season, an old file
and the most recent update.
Press "M" to return to the Main Menu. If you have loaded a file you
will be asked if you want to calculate the team rankings. Press "Y" to
calculate or "N" to return to the original screen of an alphabetical
listing.
1.6 Quit
Use this option to quit the program and return to LOADSTAR 128 if
there's a LS 128 disk in the current drive. If not, you'll return to
BASIC.
2.0 AFC and NFC Menus
The screens for both conferences are the same, except for the Central
Division of the American Conference having six teams instead of five. Each
division is given with their teams listed according to their winning
percentage. If no data has been entered then the the teams will be listed
alphabetically. There are five options across the bottom of the screen.
2.1 Main Menu
This option will take you back to the Main Menu. You will be asked if
you want to calculate the team rankings. Press "Y" to calculate or "N" to
return to the original screen or an alphabetical listing.
2.2 Division
Use this option to enter stats on a week by week basis. The first
prompt will ask which division you want to enter stats on. Each team, in
alphabetical order, will be listed for you to enter its stats. The next
prompt asks whether or not it was a bye-week for that team. Answer with a
"Y" to go on to the next team or "N" to enter stats for that team. Usually
four of the five teams in a given division will all have bye-weeks at the
same time and the fifth team will have a bye-week by itself.
You will then be asked for the score of this weeks game and a few "yes"
or "no" type questions about the game, such as home/away game,
division/non-division game, and conference/non-conference game. Enter the
information as it is asked for each team. When you have entered the stats
for all five teams you will go back to the previous menu and the standings
for that division will be calculated. Repeat the same procedure for all
three divisions.
2.3 Change
This option will allow you to correct any stats entered incorrectly or,
if you've missed a week or two, you can use this to enter all the data up
to that point in the season. You can compare your stats with the standings
chart in the newspaper. If you have made an error or if you have fallen
behind a couple of weeks, then use this option. At each prompt the current
stat is displayed. Either DEL the information and type in the correct
information or press RETURN to retain the current stat.
2.4 Re-calculate
If for some reason you feel the division standings were not correctly
calculated then use this option to re-calculate then.
2.5 Print
This option will print the current screen with the listing of all
divisions and teams either in their alphabetical order or sorting according
to their winning percentage, depending on which is on the current screen.
That's NFL TOP TEN! When I was in high school I used to keep all this
information on paper because there was no sports-oriented national
newspaper like USA TODAY that kept all these stats. I also preferred to use
my own rating system. Now that I have a C-128 my stats sheets have never
looked better.
FENDER'S POSTMUMBLE: After a subscriber pointed out that NFL TOP TEN
couldn't be used for the current NFL lineup because of an extra team and a
team name change, I decided to modify the program myself, thinking it would
be easy. It wasn't. The sort routine was written strictly for five teams
per division and the American Central now has six. Then all the screen
formatting had to be changed. But I think I have it all working fine for
the current 31-team league.
My changes aren't perfect. I've noticed that at times, when going back to
the Main Menu, the 30th or 31st team names may be corrupted. I have no idea
why, but you can just re-calculate and the problem will fix itself.
\\\\\ R - Run RETURN - Menu \\\\\